<?php
/* @var $this KelompokController */
/* @var $model Kelompok */
/* @var $form CActiveForm */
global $array_gender;
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>




<table border="0" cellpadding="0" cellspacing="0" id="id-form">

    
         <tr>
            <th valign="top" class="fontcolorbiru0b5fa5 font12 fontfamcalibry" align="left"><?php echo $form->labelEx($model,'kelompok'); ?></th>
            <td class="idform">
               	<?php echo $form->textField($model,'nama_kelompok',array('size'=>60,'maxlength'=>255)); ?>
            </td>
            <td class="idform">
                <?php if ($model->hasErrors('nama_kelompok')) echo "<div class='error-left'></div>"; ?>
                <?php echo $form->error($model, 'nama_kelompok', array('class' => 'error-inner')); ?>
            </td>
        </tr>
    
    
            <tr>
            <th valign="top" class="fontcolorbiru0b5fa5 font12 fontfamcalibry" align="left"><?php echo $form->labelEx($model,'Kabupaten'); ?></th>
            <td class="idform">
                <?php
                echo $form->dropDownList($model, 'id_kabupaten', $list_parent, array(
                    'empty' => '(Pilih Kabupaten)',
                    'style' => 'width:200px'));
                ?>
            </td>
            <td class="idform">
                <?php if ($model->hasErrors('nama_kabupaten')) echo "<div class='error-left'></div>"; ?>
                <?php echo $form->error($model, 'nama_kabupaten', array('class' => 'error-inner')); ?>
            </td>
        </tr> 
        
         <tr>
            <th valign="top" class="fontcolorbiru0b5fa5 font12 fontfamcalibry" align="left">Putra/i</th>
            <td class="idform">
               <?php
                echo $form->dropDownList($model, 'jenis_kelamin', $array_gender, array(
                    'empty' => '(Pilih Putra/i)',
                    'style' => 'width:200px'));
                ?>
            </td>
            <td class="idform">
                <?php if ($model->hasErrors('nama_kabupaten')) echo "<div class='error-left'></div>"; ?>
                <?php echo $form->error($model, 'nama_kabupaten', array('class' => 'error-inner')); ?>
            </td>
        </tr> 
        
      <tr>
            <th>&nbsp;</th>
            <td valign="top">
               <?php  echo CHtml::submitButton('Search'); ?>
            </td>
            <td class="idform"></td>
        </tr>
</table>


	

<?php $this->endWidget(); ?>

</div><!-- search-form -->